﻿package com.toncen.samepms.net.dao;

import java.util.List;
import com.toncen.samepms.net.domain.FriendlyLink;
import com.toncen.samepms.common.AbstractDao;

/**
 * 描述：友情链接表NET_FRIENDLY_LINK的dao文件
 * @time 2013-5-10
 * @author xyp 
 */
public class FriendlyLinkDao  extends AbstractDao<FriendlyLink> {

	public FriendlyLinkDao() {
	}

	
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.comit.common.db.BaseDao#initialize()
	 */
	@Override
	protected void initialize() {
		setStatementPrefix("FriendlyLink");
		setStatementDivision(".");
	}
	
	/**
	 * 获取相关链接
	 * 
	 * @param exclude
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("unchecked")
	public List<FriendlyLink> getAllFriendlyLink() throws Exception {
		return findList("getAllFriendlyLink", null);
	}
}
